home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950528-19950726 / 000302_news@columbia.edu_Tue Jul 11 12:34:05 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA03789
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 11 Jul 1995 08:34:11 -0400
  3. Received: by apakabar.cc.columbia.edu id AA16031
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 11 Jul 1995 08:34:09 -0400
  5. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  6. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Lost vt220 functions in C-Kermit OS/2
  9. Date: 11 Jul 1995 12:34:05 GMT
  10. Organization: Columbia University
  11. Lines: 43
  12. Message-Id: <3ttr3t$fkt@apakabar.cc.columbia.edu>
  13. References: <3ts75i$op4@News1.mcs.net> <3tscjg$328@apakabar.cc.columbia.edu> <3tsuc4$bsq@News1.mcs.net>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  16.  
  17. In article <3tsuc4$bsq@News1.mcs.net>,  <shell@mcs.net> wrote:
  18. : >The DEC PF1 key is supposed to send ESC O P when the (DEC) numeric keypad
  19. : >in application mode.  Your application is (a) swallowing the escape, or
  20. : >(b) expecting the keypad to be in numeric mode but not putting it that
  21. : >way, or (c) expecting 8-bit key codes but OS/2 C-Kermit has not been told
  22. : >to "set terminal bytesize 8", or (d) under the impression that it is
  23. : >talking to an HP terminal and not a VT terminal.
  24. :
  25. : a) Probably!
  26. : b) How can I find out if it expects the keypad to be in numberic mode?
  27. :    When I do a show terminal at the kermit prompt the Keypad-mode
  28. :    is numeric.
  29. You can't tell by looking.
  30.  
  31. Tell Kermit to "set term keypad application" and see if the PF keys suddenly
  32. start to work.
  33.  
  34. : c)  I set both the terminal and command bytesize to 8 bits.
  35. : d)  Not likely because this app turns the screen into a scrable game when 
  36. :     when its confused about the terminal type. <g>  (I've done this by 
  37. :     setting the term value to hp with a vt emulator.)
  38. : Since kermit is sending the same codes before (working) and after (non
  39. : working) the application update, I need to do something to overide the
  40. : behavior of the app.  Is there any way to modify the ckovtk2.ini file to
  41. : send two escapes (instead of one) to temporarily fix my problem?
  42. I would be surprised if this fixed it, but it's worth a try:
  43.  
  44.   set key \315 \27\KPF1
  45.  
  46. This assigns to the PC's F1 key (\315) the sequence Escape (\27) and then
  47. the \KPF1 verb, whose action depends on the terminal keypad mode.
  48.  
  49. You might want to check other apps on your system.  Do the same function
  50. keys still work with them?  (Maybe when installing the new HP app, the
  51. termcap/terminfo database was changed.)
  52.  
  53. Also be sure to use SHOW KEY in Kermit to make sure that you have not
  54. inadvertantly changed your key definitions.
  55.  
  56. - Frank